Implement missing Xen API method Console.get_other_config.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Jul 2007 08:06:30 +0000 (09:06 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Jul 2007 08:06:30 +0000 (09:06 +0100)
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/xend/XendAPI.py

index 9acf83adc5aa29a11ff9bfa09946c275c76bb5c7..ff48d73976d530409a88ffe5507f7ff3b510ddab 100644 (file)
@@ -2394,6 +2394,12 @@ class XendAPI(object):
         vm = xendom.get_vm_with_dev_uuid('console', console_ref)
         return xen_api_success(vm.get_uuid())
     
+    def console_get_other_config(self, session, console_ref):
+        xendom = XendDomain.instance()        
+        return xen_api_success(xendom.get_dev_property_by_uuid('console',
+                                                               console_ref,
+                                                               'other_config'))
+    
     # object methods
     def console_get_record(self, session, console_ref):
         xendom = XendDomain.instance()